import Vue from 'vue'
import Router from 'vue-router'
// import '../../public/navigation'
Vue.use(Router)
export const constantRoutes = [{
    path: '/',
    redirect: '/indexManagement'
  },
  {
    path: '/indexManagement',
    name: 'indexManagement',
    component: () =>
      import( /* webpackChunkName: "dangManage" */ '@/pages/indexManagement')
  },
  // 大屏配置
  {
    path: '/largeScreenConfig',
    name: 'largeScreenConfig',
    component: () =>
      import( /* webpackChunkName: "dangManage" */ '@/pages/largeScreenConfig')
  },
  // 会议配置
  {
    path: '/meetingConfiguration',
    name: 'meetingConfiguration',
    component: () =>
      import(
        /* webpackChunkName: "dangManage" */
        '@/pages/meetingConfiguration'
      )
  },
  // 配置
  {
    path: '/configurationTemplate',
    name: 'configurationTemplate',
    component: () =>
      import(
        /* webpackChunkName: "dangManage" */
        '@/pages/meetingConfiguration/configurationTemplate'
      )
  },
  // 大屏预览
  {
    path: '/bigModel',
    name: 'bigModel',
    component: () =>
      import(
        /* webpackChunkName: "dangManage" */
        '@/pages/meetingConfiguration/bigModel'
      )
  },

  // 任务列表
  {
    path: '/taskList',
    name: 'taskList',
    component: () =>
      import( /* webpackChunkName: "dangManage" */ '@/pages/taskList')
  },
  // 会议纪要
  {
    path: '/meetingMinutes',
    name: 'meetingMinutes',
    component: () =>
      import( /* webpackChunkName: "dangManage" */ '@/pages/meetingMinutes')
  },
  // 会议列表
  {
    path: '/meetingList',
    name: 'meetingList',
    component: () =>
      import( /* webpackChunkName: "dangManage" */ '@/pages/meetingList')
  },
  {
    path: '/404',
    name: '404',
    component: () =>
      import( /* webpackChunkName: "dangManage" */ '@/pages/404.vue')
  }
]
const router = new Router({
  routes: constantRoutes
})
// export const navigation = window.cnnitNavigation.register(router)
export default router
